package com.markerhub.common.dto;


import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

@Data
public class AddGroupDto implements Serializable {

    @NotBlank(message = "组别名称不能为空")
    private String groupname;

    @NotBlank(message = "组别地点不能为空")
    private String grouparea;

    @Override
    public String toString() {
        return "AddGroupDto{" +
                "groupname='" + groupname + '\'' +
                ", grouparea='" + grouparea + '\'' +
                '}';
    }
}